<?php
/**
 * Created by PhpStorm.
 * User: deng
 * Date: 2015/2/26
 * Time: 17:26
 */

namespace Test\Controller;

use Think\Controller;
import('Org.Mailer.Mail');

class MailController extends Controller
{
   function  mail(){
       $title = 'metalab测试邮件';
       $content = '<body><table><tr><td>#</td><td>一</td></tr><tr><td>test</td><td>test</td></tr></table></body>';
       SendMail('d_y@sjtu.edu.cn',$title,$content,'admin');
   }
}